<template>
	<view class="container">
		<view class="bill">
			<view class="list">
				<view class="item_a">
					<view class="item">公司名称</view>
					<view class="item fenge">税号</view>
					<view class="item khh">开户行</view>
					<view class="item fenge">账号</view>
					<view class="item fenge">地址</view>
					<view class="item fenge">电话</view>
				</view>
				<view class="item-b">
					<view class="item">青岛某某某某某某公司</view>
					<view class="item">123456789987654321</view>
					<view class="item">中国银行</view>
					<view class="item">123456987584554256</view>
					<view class="item">青岛市城阳区医院与觉得我</view>
					<view class="item">155875469856</view>
				</view>
			</view>
			<view class="xian"></view>
			<view class="billmsg">
				<view class="mesg1">
					<view class="image-a">
						<image src="/static/image/shop/11.png" mode=""></image>
					</view>
					<view class="moren">
						设为默认
					</view>
				</view>

				<view class="updata">
					<view class="content" @click="updata">
						<view class="updataImg">
							<image src="/static/image/shop/12.png" mode=""></image>
						</view>
						<view class="updataTxt">
							编辑
						</view>
					</view>
					<view class="content">
						<view class="deleteImg">
							<image src="/static/image/shop/13.png" mode=""></image>
						</view>
						<view class="deleteTxt">
							删除
						</view>
					</view>
				</view>
			</view>
		</view>

		<view class="kpmsg">
			<button>添加新开票信息</button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				// token
				token: wx.getStorageSync('shopToken'),
			}
		},
		methods: {


			updata() {
				uni.navigateTo({
					url: "/pages/shop/updata/index"
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.container {
		height: 100vh;
		width: 100%;
		background-color: #f5f5f5;
		display: flex;
		align-items: center;
		flex-direction: column;

		.bill {
			display: flex;
			flex-direction: column;
			align-items: center;
			margin-top: 20rpx;
			width: 674rpx;
			height: 405rpx;
			background-color: #ffffff;
			font-size: 26rpx;

			.list {
				display: flex;
				flex-direction: row;
				width: 599rpx;
				height: 225rpx;
				margin-top: 38rpx;
				border: 1rpx solid red;

				.item_a {
					font-weight: 400;
					font-size: 26rpx;
					color: #333333;
					line-height: 40rpx;

					.fenge {
						letter-spacing: 48rpx;
					}

					.khh {
						letter-spacing: 12rpx;
					}
				}

				.item-b {
					font-weight: 400;
					font-size: 26rpx;
					color: #808080;
					line-height: 40rpx;
				}
			}

			.xian {
				position: relative;
				width: 608rpx;
				height: 1rpx;
				background-color: #eeeeee;
				margin-top: 38rpx;
			}

			.xian:before {
				content: "";
				position: absolute;
				top: -0.5rpx;
				left: 0;
				width: 100%;
				height: 1rpx;
				background-color: #eeeeee;
				transform: scaleY(0.5);
			}

			.billmsg {
				display: flex;
				flex-direction: row;
				justify-content: space-between;
				height: 25rpx;
				width: 608rpx;
				margin-top: 36rpx;

				.mesg1 {
					display: flex;
					flex-direction: row;
					height: 29rpx;
					line-height: 50rpx;


					.image-a {
						width: 29rpx;
						height: 29rpx;

						image {
							width: 29rpx;
							height: 29rpx;
						}
					}

					.moren {
						height: 29rpx;
						font-weight: 400;
						font-size: 26rpx;
						color: #333333;
						line-height: 40rpx;
						margin-left: 14rpx;
					}
				}

				.updata {
					width: 220rpx;
					line-height: 45rpx;
					display: flex;
					flex-direction: row;
					justify-content: space-between;

					.content {
						display: flex;
						flex-direction: row;

						.updataImg,
						.deleteImg {
							width: 26rpx;
							height: 27rpx;
							margin-right: 10rpx;

							image {
								width: 26rpx;
								height: 27rpx;
							}
						}

						.updataTxt,
						.deleteTxt {
							font-weight: 400;
							font-size: 26rpx;
							color: #333333;
							line-height: 40rpx;
						}
					}


				}
			}
		}

		.kpmsg {
			margin-top: auto;
			margin-bottom: 80rpx;

			button {
				width: 670rpx;
				height: 91rpx;
				line-height: 91rpx;
				background: linear-gradient(to right top, rgba(38, 187, 168, 1.0), rgba(0, 130, 139, 1.0));
				font-weight: 400;
				font-size: 33rpx;
				color: #FFFFFF;
				box-shadow: 6rpx 6rpx 6rpx #c5c5c5;
				border-radius: 20rpx;
			}
		}
	}
</style>